package com.j2ee.spring.aop.annotation;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class PorsonDaoTest {
	
	@Test
	public void testPersonDao() {
		ApplicationContext context =  
				new ClassPathXmlApplicationContext("applicationContext.xml") ;
		PersonDao personDao = (PersonDao) context.getBean("personDao") ;
		personDao.savePerson() ;
	}

}
